ap-location

Configures an AP‘s deployment location based filter for this user-defined role

Supported on the following devices:

Syntax

ap-location [any|contains|exact|not-contains]
ap-location any
ap-location [contains|exact|not-contains] <WORD>

Parameters

ap-location any

ap-location any

Specifies the AP location to match (in an RF Domain) or the AP‘s resident configuration
  • any – Defines an AP‘s location as any

ap-location [contains|exact|not-contains] <WORD>

ap-location

Specifies the AP location to match (in an RF Domain) or the AP‘s resident configuration. Select one of the following filter options: contains, exact, or not-contains.

contains <WORD>

Applies role if the associating AP‘s location contains the location string specified in the role.

  • <WORD> – Specify the location string to match.

exact <WORD>

Applies role if the associating AP‘s location exactly matches the string specified in the role.

  • <WORD> – Specify the exact location string to match.

not-contains <WORD>

Applies role if the associating AP‘s location does not contain the location string specified in the role.

  • <WORD> – Specify the location string. The role is applied if the location does not match the specified string.

Examples

nx9500-6C8809nx9500-6C8809(config-role-policy-test-user-role-testing)#ap-location contains office
nx9500-6C8809(config-role-policy-test-user-role-testing)#show context
 user-role testing precedence 10
  ap-location contains office
nx9500-6C8809(config-role-policy-test-user-role-testing)#

Related Commands

no

Removes an AP‘s deployment location string from this user-defined role